package com.tanhua.dubbo.api;

import com.tanhua.model.mongo.Visitors;

import java.util.List;

public interface VisitorsApi {
    //保存
    void save(Visitors visitors);
    //谁看过我
    List<Visitors> findById(Long userId, Long time);

    //谁看过我分页列表
    List<Visitors> findAll(Long userId, Integer page, Integer pagesize);
}
